package eiisan.service.user;

import eiisan.dao.param.user.DoLogin;
import eiisan.util.model.response.Result;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

public interface LoginService {
    Result login(@Valid @NotNull DoLogin param);
    /**
     * 用户登出
     */
    Result logout();
}
